<?php
namespace catchAdmin\archives\tables\forms;

use catcher\library\form\Form;

class History extends Form
{
    public function fields(): array
    {
        // TODO: Implement fields() method.
        return [
            self::input('patient_id', '患者ID')->required(),

            self::input('name', '姓名')->required(),

            self::textarea('irritability', '过敏史'),

            self::textarea('operation', '手术史'),

            self::textarea('give_birth', '生育史'),
            
            self::textarea('menstruation', '月经史'),
        ];
    }
}